package com.anyou.mall.platform.mapper;

import java.util.List;
import com.anyou.mall.platform.domain.PlaPlatformSettings;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 平台设置Mapper接口
 *
 * @author ylj
 * @date 2022-03-21
 */
public interface PlaPlatformSettingsMapper extends BaseMapper<PlaPlatformSettings>
{
    /**
     * 查询平台设置
     *
     * @param platformSettingsId 平台设置主键
     * @return 平台设置
     */
    public PlaPlatformSettings selectPlaPlatformSettingsByPlatformSettingsId(Long platformSettingsId);

    /**
     * 查询平台设置列表
     *
     * @param plaPlatformSettings 平台设置
     * @return 平台设置集合
     */
    public List<PlaPlatformSettings> selectPlaPlatformSettingsList(PlaPlatformSettings plaPlatformSettings);

    /**
     * 新增平台设置
     *
     * @param plaPlatformSettings 平台设置
     * @return 结果
     */
    public int insertPlaPlatformSettings(PlaPlatformSettings plaPlatformSettings);

    /**
     * 修改平台设置
     *
     * @param plaPlatformSettings 平台设置
     * @return 结果
     */
    public int updatePlaPlatformSettings(PlaPlatformSettings plaPlatformSettings);

    /**
     * 删除平台设置
     *
     * @param platformSettingsId 平台设置主键
     * @return 结果
     */
    public int deletePlaPlatformSettingsByPlatformSettingsId(Long platformSettingsId);

    /**
     * 批量删除平台设置
     *
     * @param platformSettingsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlaPlatformSettingsByPlatformSettingsIds(Long[] platformSettingsIds);
}
